package com.pda.common.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Transient;

@Entity(
        indexes = {
                @Index(value = "sid", unique = true)
        }
)
//库房
public class StoreInfo {
    @Id(autoincrement = true)
    private Long id;
    private String sid;
    private String name;
    @Transient
    private boolean flag = false;
@Generated(hash = 1964211585)
public StoreInfo(Long id, String sid, String name) {
    this.id = id;
    this.sid = sid;
    this.name = name;
}
@Generated(hash = 566562646)
public StoreInfo() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getSid() {
    return this.sid;
}
public void setSid(String sid) {
    this.sid = sid;
}
public String getName() {
    return this.name;
}
public void setName(String name) {
    this.name = name;
}

}


